<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <div>{{msg}}</div>
        <div>{{count}}</div>
        <div v-text="msg"></div>
        <div v-html="node"></div>
        <input type="text" v-model="msg">
        <input type="text" v-model="count">
        <div v-on:click="clickHandler">123</div>
    </div>
</body>

<script src="./js/dep.js"></script>
<script src="./js/watcher.js"></script>
<script src="./js/compiler.js"></script>
<script src="./js/observer.js"></script>
<script src="./js/vue.js"></script>
<script>
    const vm = new Vue({
        el: '#app',
        data: {
            msg: 'ken',
            node: `<div>
                    <p>令狐冲</p>
                    <p>孙悟空</p>
                </div>`,
            count: 0
        },
        methods: {
            clickHandler() {
                console.log(1)
            }
        }
    })

</script>
</html>